package com.servlet.webqq.entity;

import java.util.Date;

import com.servlet.webqq.annotation.Format;

public class User {
	private Integer userId;
	private String username;
	private String password;
	private Date date;
	private String auth;
	private Integer roomId;
	private String imgUrl;
	public  User(){
	}
	
	public User(Integer userId, String username, String password, Date date) {
		super();
		this.userId = userId;
		this.username = username;
		this.password = password;
		this.date = date;
	}

	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	@Format
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}

	public String getAuth() {
		return auth;
	}

	public void setAuth(String auth) {
		this.auth = auth;
	}

	public Integer getRoomId() {
		return roomId;
	}

	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
}
